#include <stdint.h>

typedef struct
{
    uint8_t *data;
    int size;
    int used;
} mybitmap;

mybitmap *mybitmap_crate(int byte_size);
int mybitmap_get(mybitmap *b, int off);
void mybitmap_set(mybitmap *b, int off);
int mybitmap_allocate(mybitmap *b);
void mybitmap_clear(mybitmap *b, int off);
